package com.rao.mideng.autoconfigure;

import com.rao.mideng.annotation.EnableMiDeng;
import org.aspectj.weaver.Advice;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.context.annotation.Configuration;

/**
 * 借助这个spring.factories将RaoMiDengAutoConfiguration加入到
 */
@Configuration
public class RaoMiDengAutoConfiguration {

    @Configuration
    @EnableMiDeng
    @ConditionalOnClass(Advice.class)
    static class MiDengBean {

    }
}
